#ifndef _IUSHELL_HPP_
#define _IUSHELL_HPP_

#define MAX_ARGS 32

/**
 * @brief Classe 
 */
class iuShell
{
public:
   iuShell();
   ~iuShell();

   void run();
   int  getCommandFD();
   int  getCommand(char *args[MAX_ARGS]);
   void freeCommand(int numArgs, char *args[MAX_ARGS]) const;
   void executeCommand(const char *buffer);
   void resume();

private:
   int m_commandPipe[2];
   int m_resumePipe[2];
};

#endif
